package com.nengyuan;

public class Stduent {
    private String name;

    private int age;

    private String grada;




    public Stduent(String name, int age, String grada) {
        this.name = name;
        this.age = age;
        this.grada = grada;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public void setGrada(String grada) {
        this.grada = grada;
    }

    public String getName() {
        return name;
    }

    public int getAge() {
        return age;
    }

    public String getGrada() {
        return grada;
    }

    @Override
    public String toString() {
        return "Stduent{" +
                "name='" + name + '\'' +
                ", age=" + age +
                ", grada='" + grada + '\'' +
                '}';
    }
}
